<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Clause: lac::MainTagger类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Clause
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Chatopera Language Understanding Service.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>lac</b></li><li class="navelem"><a class="el" href="classlac_1_1MainTagger.html">MainTagger</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classlac_1_1MainTagger-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">lac::MainTagger类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="classlac_1_1MainTagger.html" title="The MainTagger class, the tagger of model. ">MainTagger</a> class, the tagger of model.  
 <a href="classlac_1_1MainTagger.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="main__tagger_8h_source.html">main_tagger.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:adf28cee2d448b9d3605ad2d20314507e"><td class="memItemLeft" align="right" valign="top">RVAL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlac_1_1MainTagger.html#adf28cee2d448b9d3605ad2d20314507e">create_buff</a> (void *buff) const </td></tr>
<tr class="memdesc:adf28cee2d448b9d3605ad2d20314507e"><td class="mdescLeft">&#160;</td><td class="mdescRight">create_buff, initialize therad variables associated with <a class="el" href="classlac_1_1MainTagger.html" title="The MainTagger class, the tagger of model. ">MainTagger</a>  <a href="#adf28cee2d448b9d3605ad2d20314507e">更多...</a><br /></td></tr>
<tr class="separator:adf28cee2d448b9d3605ad2d20314507e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a303937d4a8c6dcdaec44063e0c8f08c1"><td class="memItemLeft" align="right" valign="top">RVAL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlac_1_1MainTagger.html#a303937d4a8c6dcdaec44063e0c8f08c1">reset_buff</a> (void *buff) const </td></tr>
<tr class="memdesc:a303937d4a8c6dcdaec44063e0c8f08c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">reset_buff, reset therad variables associated with <a class="el" href="classlac_1_1MainTagger.html" title="The MainTagger class, the tagger of model. ">MainTagger</a>  <a href="#a303937d4a8c6dcdaec44063e0c8f08c1">更多...</a><br /></td></tr>
<tr class="separator:a303937d4a8c6dcdaec44063e0c8f08c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72da5d4cfbff56926bfe6b4fd529f1b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlac_1_1MainTagger.html#a72da5d4cfbff56926bfe6b4fd529f1b9">destroy_buff</a> (void *buff) const </td></tr>
<tr class="memdesc:a72da5d4cfbff56926bfe6b4fd529f1b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">destroy_buff, destroy therad variables associated with <a class="el" href="classlac_1_1CustomizationTagger.html" title="The CustomizationTagger class, supports customization. ">CustomizationTagger</a>  <a href="#a72da5d4cfbff56926bfe6b4fd529f1b9">更多...</a><br /></td></tr>
<tr class="separator:a72da5d4cfbff56926bfe6b4fd529f1b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa97fec6132e93516d6a9d664ec159c1"><td class="memItemLeft" align="right" valign="top">RVAL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlac_1_1MainTagger.html#afa97fec6132e93516d6a9d664ec159c1">tagging</a> (<a class="el" href="structlac_1_1lac__buff__t.html">lac_buff_t</a> *buff, int max_result_num)</td></tr>
<tr class="memdesc:afa97fec6132e93516d6a9d664ec159c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">tagging, tag lac tags using model  <a href="#afa97fec6132e93516d6a9d664ec159c1">更多...</a><br /></td></tr>
<tr class="separator:afa97fec6132e93516d6a9d664ec159c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a83426a37f8ca3e1a90b41d7db340597d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classlac_1_1MainTagger.html">MainTagger</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlac_1_1MainTagger.html#a83426a37f8ca3e1a90b41d7db340597d">create</a> (const char *conf_path)</td></tr>
<tr class="memdesc:a83426a37f8ca3e1a90b41d7db340597d"><td class="mdescLeft">&#160;</td><td class="mdescRight">create, the factory function  <a href="#a83426a37f8ca3e1a90b41d7db340597d">更多...</a><br /></td></tr>
<tr class="separator:a83426a37f8ca3e1a90b41d7db340597d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>The <a class="el" href="classlac_1_1MainTagger.html" title="The MainTagger class, the tagger of model. ">MainTagger</a> class, the tagger of model. </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a83426a37f8ca3e1a90b41d7db340597d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlac_1_1MainTagger.html">MainTagger</a> * lac::MainTagger::create </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>conf_path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>create, the factory function </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">conf_path,path</td><td>of config </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>pointer of a new <a class="el" href="classlac_1_1MainTagger.html" title="The MainTagger class, the tagger of model. ">MainTagger</a> object, NULL when failed </dd></dl>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classlac_1_1MainTagger_a83426a37f8ca3e1a90b41d7db340597d_icgraph.png" border="0" usemap="#classlac_1_1MainTagger_a83426a37f8ca3e1a90b41d7db340597d_icgraph" alt=""/></div>
<map name="classlac_1_1MainTagger_a83426a37f8ca3e1a90b41d7db340597d_icgraph" id="classlac_1_1MainTagger_a83426a37f8ca3e1a90b41d7db340597d_icgraph">
<area shape="rect" id="node2" href="classlac_1_1Lac.html#a38c7c25ac64ca2e995bd2b92fd582cb4" title="create, the factory function " alt="" coords="223,5,341,32"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="adf28cee2d448b9d3605ad2d20314507e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RVAL lac::MainTagger::create_buff </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buff</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>create_buff, initialize therad variables associated with <a class="el" href="classlac_1_1MainTagger.html" title="The MainTagger class, the tagger of model. ">MainTagger</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">buff,pointer</td><td>of struct of therad variables </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>_SUCCESS or _FAILED </dd></dl>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classlac_1_1MainTagger_adf28cee2d448b9d3605ad2d20314507e_icgraph.png" border="0" usemap="#classlac_1_1MainTagger_adf28cee2d448b9d3605ad2d20314507e_icgraph" alt=""/></div>
<map name="classlac_1_1MainTagger_adf28cee2d448b9d3605ad2d20314507e_icgraph" id="classlac_1_1MainTagger_adf28cee2d448b9d3605ad2d20314507e_icgraph">
<area shape="rect" id="node2" href="classlac_1_1Lac.html#aa05651bffb9ca61898ce9a2274d1a5fb" title="create_buff, initialize therad variables " alt="" coords="253,5,404,32"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a72da5d4cfbff56926bfe6b4fd529f1b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lac::MainTagger::destroy_buff </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buff</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>destroy_buff, destroy therad variables associated with <a class="el" href="classlac_1_1CustomizationTagger.html" title="The CustomizationTagger class, supports customization. ">CustomizationTagger</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">buff,pointer</td><td>of struct of therad variables </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classlac_1_1MainTagger_a72da5d4cfbff56926bfe6b4fd529f1b9_icgraph.png" border="0" usemap="#classlac_1_1MainTagger_a72da5d4cfbff56926bfe6b4fd529f1b9_icgraph" alt=""/></div>
<map name="classlac_1_1MainTagger_a72da5d4cfbff56926bfe6b4fd529f1b9_icgraph" id="classlac_1_1MainTagger_a72da5d4cfbff56926bfe6b4fd529f1b9_icgraph">
<area shape="rect" id="node2" href="classlac_1_1Lac.html#a75f9d77bcb2089dcdba52d1526bbb129" title="destroy_buff, destroy therad variables " alt="" coords="260,5,417,32"/>
<area shape="rect" id="node3" href="classlac_1_1Lac.html#aa05651bffb9ca61898ce9a2274d1a5fb" title="create_buff, initialize therad variables " alt="" coords="465,5,616,32"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a303937d4a8c6dcdaec44063e0c8f08c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RVAL lac::MainTagger::reset_buff </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buff</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>reset_buff, reset therad variables associated with <a class="el" href="classlac_1_1MainTagger.html" title="The MainTagger class, the tagger of model. ">MainTagger</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">buff,pointer</td><td>of struct of therad variables </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>_SUCCESS or _FAILED </dd></dl>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classlac_1_1MainTagger_a303937d4a8c6dcdaec44063e0c8f08c1_icgraph.png" border="0" usemap="#classlac_1_1MainTagger_a303937d4a8c6dcdaec44063e0c8f08c1_icgraph" alt=""/></div>
<map name="classlac_1_1MainTagger_a303937d4a8c6dcdaec44063e0c8f08c1_icgraph" id="classlac_1_1MainTagger_a303937d4a8c6dcdaec44063e0c8f08c1_icgraph">
<area shape="rect" id="node2" href="classlac_1_1Lac.html#adb4f05be2709fe841c14d7545f151236" title="reset_buff, reset therad variables " alt="" coords="245,5,388,32"/>
<area shape="rect" id="node3" href="classlac_1_1Lac.html#aeab3ca807b28a815a5e54cf565c56441" title="tagging, tag lac tags using the taggers " alt="" coords="436,5,563,32"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afa97fec6132e93516d6a9d664ec159c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RVAL lac::MainTagger::tagging </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structlac_1_1lac__buff__t.html">lac_buff_t</a> *&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max_result_num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>tagging, tag lac tags using model </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">buff,pointer</td><td>of struct of therad variables </td></tr>
    <tr><td class="paramname">max_result_num,limit</td><td>of tagged results, tagging failed when the number of results exceeds the limit </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>number of tagged results, or _FAILED </dd></dl>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classlac_1_1MainTagger_afa97fec6132e93516d6a9d664ec159c1_icgraph.png" border="0" usemap="#classlac_1_1MainTagger_afa97fec6132e93516d6a9d664ec159c1_icgraph" alt=""/></div>
<map name="classlac_1_1MainTagger_afa97fec6132e93516d6a9d664ec159c1_icgraph" id="classlac_1_1MainTagger_afa97fec6132e93516d6a9d664ec159c1_icgraph">
<area shape="rect" id="node2" href="classlac_1_1Lac.html#aeab3ca807b28a815a5e54cf565c56441" title="tagging, tag lac tags using the taggers " alt="" coords="229,5,356,32"/>
</map>
</div>
</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/lac/src/<a class="el" href="main__tagger_8h_source.html">main_tagger.h</a></li>
<li>src/lac/src/main_tagger.cpp</li>
</ul>
</div><!-- contents -->
<address class="footer">
    <small>
        &nbsp; Copyright (c) (2019-2020) &nbsp;<a href="https://www.chatopera.com">
            北京华夏春松科技有限公司
        </a>. All Rights Reserved
        &nbsp;
    </small>
</address>